<!doctype html>
<html lang="en" ng-app="searchApp">
<head>
    <meta charset="UTF-8">
    <!--  宝宝树66小区二次改造    mod   guo.xiaomin  20170828  start   -->
    <!--<title>集市搜索</title>-->
    <title>闲置搜索</title>
    <!--  宝宝树66小区二次改造    mod   guo.xiaomin  20170828  end   -->
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no"/>
    <meta name="format-detection" content="telephone=no"/>
    <link href="css/search.css" rel="stylesheet" type="text/css"/>

</head>
<body class="index" ng-controller="SearchCtrl">
<div class="search_input">
    <form action="" onSubmit="return false;">
        <!--  宝宝树66小区二次改造    mod   guo.xiaomin  20170828  start   -->
        <!--<input class="searchInput" type="search" placeholder="搜搜集市">563accbf9f21d1e639836c46-->
        <input type="hidden" id="goodsClaId" value="0">
        <input class="searchInput" type="search" placeholder="搜索闲置">
        <!--<input type="button" id="filter_btn" class="btn" value="搜索" ng-click="searchGoodsByCtg('')">-->
        <!--  宝宝树66小区二次改造    mod   guo.xiaomin  20170828  end   -->
    </form>
</div>

<div class="wrapper">


    <div class="search_page">
        <p>热门搜索</p>
        <div class="hot">
            <ul class="hotList clearfix">

                <li ng-repeat="item in hot" ng-click="hotSearch(item)">
                    {{item}}
                </li>

            </ul>
        </div>
        <!-- 宝宝树66小区 sprint5 闲置搜索页 增加闲置分类搜索 add wangcan 20171115 start -->
        <!-- 1120-commit-master -->
        <!--<p>闲置分类</p>
        <div class="classify">
            <ul class="goodsClaList clearfix">
                <li ng-repeat="item in goodsCla" ng-click="goodsClaSearch(item)">
                    {{item.name}}
                </li>
            </ul>
        </div>-->
        <!-- 宝宝树66小区 sprint5 闲置搜索页 增加闲置分类搜索 add wangcan 20171115 end -->
        <p ng-if="history.length > 0">搜索历史</p>
        <div class="history">
            <ul class="historyList clearfix">
                <li ng-repeat="item in history" ng-click="historySearch(item)"><a>{{item}}</a></li>
            </ul>
        </div>
        <input ng-if="history.length > 0" type="button" class="clearHistory" value="清除历史" ng-click="clearHistory()">

    </div>
    <div class="layout" style="display:none">
        <ul class="clearfix goodslist ng-cloak">
            <li ng-repeat="item in goodsList" ng-style="{width:goodsImgW}">
                <a href="javascript:;" ng-click="goToDetail(item)">
                    <div class="good-img-w">
                        <img ng-style="{height:goodsImgH}" ng-src="{{item.pic}}">

                        <div class="saled-icon-w">
                            <img ng-if="item.dealStatus == 1" src="images/deal.png"/>
                            <img ng-if="item.dealStatus != 1&&item.saleNumber!=null" src="images/zhuan.png"/>
                            <!--<span class="vertical-l"></span>-->
                            <!--<span class="saled-icon">已售</span>-->
                        </div>
                    </div>
                    <p class="title">{{item.title}}</p>

                    <p><span class="nowprice"><em>¥</em>{{item.type==2?'免费':item.presentPrice}} <span
                            ng-bind="name"></span></span>
                        <del class="preprice" ng-if="item.type==1 && item.originalPrice != 0"><em>原价 ¥</em>{{item.originalPrice}}
                        </del>
                    </p>
                    <p class="clearfix"><span
                            class="fl range">{{item.userCommunity?item.userCommunity:'距离'+item.distance}}</span><span
                            class="time fr">{{item.releaseDate | dateFormat}}</span>
                    </p>
                </a>
            </li>
        </ul>
        <p class="loadingMore"></p>
    </div>
</div>

<div class="loading-pop">
    <img id="load_img" src="images/loading.gif" class="loading-img">
    <span id="reload" class="loading-img" style="display:none" ng-click="reload()">重新加载</span>
</div>

<div class="sale_pop" id="reged">
    <div class="loading-con">
        <p style="margin-top: 50px">该商品为赶集专场专用</p>

        <p style="margin-top: 20px">欢迎您<span style="color:#f97442;font-size: 1.2em">周六18点</span>来赶大集，淘好货</p>

        <!--<div class="btn" ng-click="hideSale()">-->
        <!--<span>我知道了</span>-->
        <!--</div>-->

        <ul class="btn">
            <li ng-click="hideSale()" style="background: #F5A623;border-bottom-left-radius: 5px;">我知道了</li>
            <li ng-click="saveRecord()" style="background: #F97442;border-bottom-right-radius: 5px;"><span id="saleRecordMsg">到时通知我</span></li>
        </ul>
    </div>
</div>

<div class="no_result">
    <img src="images/none_goods.png">
    <p>没有搜索到相关内容~</p>
</div>

<script src="lib/jquery-2.1.1.min.js" type="text/javascript"></script>
<script src="lib/idangerous.swiper.js" type="text/javascript"></script>
<script src="lib/angular/angular.min.js" type="text/javascript"></script>
<script src="lib/angular/angular-route.min.js" type="text/javascript"></script>
<script src="lib/angular/angular-resource.min.js" type="text/javascript"></script>
<script src="js/search.js"></script>
<script src="lib/moment.min.js"></script>
<script src="js/filters.js"></script>
</body>
</html>
